package com.itheima.skiploop;

public class skiploopDemo1 {
    public static void main(String[] args) {
        //1.跳过某一次循环
        for(int i =1;i<=10;i++){
            if(i==3){
                //结束本次循环，继续下次循环
                continue;
            }
            System.out.println("小老虎在吃第"+i+"包子");
        }
    }
}
